/*
Data for birth order analyses.
Five non-nordic samples
*/

run "C:\Userdata\Shared\Dofiles\DoData\SiblingOrder\Replication - NLSY data 191128.do"
run "C:\Userdata\Shared\Dofiles\DoData\SiblingOrder\Replication - BHPS data 191128.do"
run "C:\Userdata\Shared\Dofiles\DoData\SiblingOrder\Replication - SOEP data 191128.do"
run "C:\Userdata\Shared\Dofiles\DoData\SiblingOrder\Replication - SHP data 191128.do"
run "C:\Userdata\Shared\Dofiles\DoData\SiblingOrder\Replication - AddHealth data 191128.do"


append using "D:\Data\ProjData\SiblingOrder\ReplicationNLSY data 191128.dta"
append using "D:\Data\ProjData\SiblingOrder\ReplicationBHPS data 191128.dta"
append using "D:\Data\ProjData\SiblingOrder\ReplicationSOEP data 191128.dta"
append using "D:\Data\ProjData\SiblingOrder\ReplicationSHP data 191128.dta"

gen samplenum = 1 if sample=="ADDHEALTH"
replace samplenum = 2 if sample=="NLSY"
replace samplenum = 3 if sample=="BHPS"
replace samplenum = 4 if sample=="SOEP"
replace samplenum = 5 if sample=="SHP"

save "D:\Data\ProjData\SiblingOrder\ReplicationAllpooled data 191128.dta", replace

